package lab02.test05;

public class Ladder {
    //构造函数
    Ladder(){}

    //属性:上底、下底、高、面积属性
    double above;
    double below;
    double height;
    double aera;

    //行为
    double area(){
    return ((above+below)*height)/2;
    }
}

